package com.woniuxy.commons.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User implements Serializable {
    private int id; //用户id
    private String username;
    private String password;
    private String name;
    private int gender;  //0-男，1-女
    private String phone;
    private String address;
    private String enterprise; //企业
    private String department; //部门
    private String area; //区域
    private int sort; //类似权重，数字越大越靠前
    private int status; //1启用，2禁用
    private int type; //0-残疾人，1—监护人，2—陪护员，3—管理员



}